﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Models;
using BLL;

namespace Player
{
    public partial class index : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["usid"] != null)
                {
                    //查询用户信息
                    string id = Session["usid"].ToString();
                    List<Users> ls = BLL.UsersManage.SeleIdUsers(Convert.ToInt32(Session["usid"]));
                    this.lbl_usname.Text = ls[0].Us_Name;
                }

            }

        }
    }
}